<form class="layui-form">
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">选择班级</label>
        <div class="layui-input-block">
            <select id="sel_grade" class="layui-input" style="width:230px;display:block;">
                <option value="">请选择</option>
                <option th:each="item:${grade_list}"
                        th:value="${item.id}"
                        th:text="${item.grade_name}">
                </option>
            </select>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">选择题库</label>
        <div class="layui-input-block">
            <select id="sel_question" class="layui-input" style="width:230px;display:block;">
                <option value="">请选择</option>
                <option th:each="item:${question_bank_list}"
                        th:value="${item.id}"
                        th:text="${'('+item.question_bank_type+')'+item.question_bank_name}">
                </option>
            </select>
        </div>
    </div>
</form>